﻿using System;

namespace SaiLing.Domain.Persistence.Relational
{
    public class IEntity
    {
        /// <summary>
        /// 主键
        /// </summary>        
        public virtual Guid Id { get; set; } = Guid.NewGuid();

        /// <summary>
        /// 逻辑删除
        /// </summary>
        public virtual bool LogicRemove { get; set; }

        public virtual DateTime CreateTime { get; set; } = DateTime.Now;
    }
}
